package xyz.xiangyushui.dao.admin;

import xyz.xiangyushui.dao.Dao;

public class AssignEmployeeDao extends Dao{
	
	/**
	 * 分配一个员工到一个店铺
	 * @param employeeName
	 * @param shopsName
	 */
	public void add(String employeeName,int storeId){
		db.executeUpdate("update employee set storeId=? where userName=?",new Object[]{storeId,employeeName} );
	}
}
